package com.wei.tang.ui.me;

import com.wei.tang.R;
import com.wei.tang.base.BaseActivity;

import android.view.View;
import android.widget.EditText;
import android.widget.ImageView;
import android.widget.LinearLayout;
import android.widget.RelativeLayout;
import android.widget.TextView;
import butterknife.InjectView;
import butterknife.OnClick;

public class MyInformationNameActivity extends BaseActivity {
	private MyInformationNameActivity mySelf = this;

	@InjectView(R.id.rl_app_head_left)
	RelativeLayout rl_app_head_left;
	@InjectView(R.id.tv_app_head_left_content)
	TextView tv_app_head_left_content;
	@InjectView(R.id.iv_app_head_left_image)
	ImageView iv_app_head_left_image;
	@InjectView(R.id.rl_app_head_center)
	RelativeLayout rl_app_head_center;
	@InjectView(R.id.tv_app_head_center_content)
	TextView tv_app_head_center_content;
	@InjectView(R.id.iv_app_head_center_image)
	ImageView iv_app_head_center_image;
	@InjectView(R.id.rl_app_head_right)
	RelativeLayout rl_app_head_right;
	@InjectView(R.id.tv_app_head_right_content)
	TextView tv_app_head_right_content;
	@InjectView(R.id.iv_app_head_right_image)
	ImageView iv_app_head_right_image;

	@InjectView(R.id.ll_input_name)
	LinearLayout ll_input_name;
	@InjectView(R.id.et_input_name)
	EditText et_input_name;
	@InjectView(R.id.iv_input_clear)
	ImageView iv_input_clear;

	@Override
	public int getLayoutId() {
		return R.layout.my_information_name_activity;
	}

	@Override
	public void initView() {
		tv_app_head_center_content.setText("帐号");
		iv_app_head_left_image.setImageResource(R.drawable.arrow_black_left);
		tv_app_head_right_content.setText("完成");
	}

	@Override
	@OnClick({ R.id.rl_app_head_left, R.id.rl_app_head_right, R.id.iv_input_clear })
	public void onClick(View v) {
		int id = v.getId();
		switch (id) {
		case R.id.rl_app_head_left:
			mySelf.finish();
			break;
		case R.id.rl_app_head_right:
			mySelf.finish();
			break;
		case R.id.iv_input_clear:
			break;
		}
	}

	@Override
	public void initData() {
	}
}
